<template>
  <div class="count">
    <h2 >我是count组件</h2>
    <p>价格2:{{price2|priceFormat(4)|add$}}</p>
    <p>价格1:{{price1|priceFormat(5)|add$}}</p>
    <p></p>
  </div>
</template>

<script>
export default {
  name: 'Count',
  data() {
    return {
      count:0,
       price3:12.0,
      price2:14.33,
      price1:19.3
    }
  }
}
</script>

<style scoped>
  .count {
    background-color:pink
  }
</style>
